#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int main(void)
{
  while(1)
  {
    pid_t PID = getpid();
    pid_t PPID = getppid();
    printf("I am a process PID:%d PPID:%d\n",PID,PPID);
    sleep(1);
  }
  return 0;
}
